package gov.child.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author fzh
 * @since 2017/9/11
 */
@Controller
@RequestMapping("/progress")
public class ProgressController {

    @GetMapping
    public ModelAndView index() {
        return new ModelAndView("progress");
    }

    @GetMapping("/test")
    public String test(){
        return "success";
    }
}
